package im.route.api.exception;

import java.io.Serializable;

public class IntegrationException extends RuntimeException implements Serializable {
    private static final long serialVersionUID = -7687813567260201057L;
    protected String functionName;
    protected String applyNo;

    public IntegrationException(String message) {
        super(message);
    }

    public IntegrationException(String message, String functionName) {
        super(message);
        this.functionName = functionName;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public String getApplyNo() {
        return applyNo;
    }

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }
}
